package com.xdf.xzymanagementsystem.enums;

/**
 * @program: xzy-management-system
 * @description: 错误提示
 * @author: 张柯
 * @create: 2020-12-31 17:07
 **/
public enum ErrorCode {
    CAN_NOT_INSERT_ROOT("禁止新增根节点"),
    CAN_NOT_UPDATE_ROOT("禁止修改根节点"),
    CAN_NOT_DELETE_ROOT("禁止删除根节点");

    private String msg;

    public String getMsg() {
        return msg;
    }

    ErrorCode(String msg) {
        this.msg = msg;
    }
}
